package com.zuipin.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zuipin.entity.DrawLevelGroup;
import com.zuipin.mapper.DrawLevelGroupMapper;
import com.zuipin.service.IDrawLevelGroupService;

/**
 * @ClassName: DrawLevelGroupServiceImpl
 * @author xujinding
 * @time 2017年3月27日下午4:02:26
 */
@Service
public class DrawLevelGroupServiceImpl implements IDrawLevelGroupService {
	
	@Resource
	private DrawLevelGroupMapper drawLevelGroupMapper;
	
	/**
	 * 根据规则Id查询对应的等级
	 * @param drawLevelGroup
	 */
	public List<DrawLevelGroup> findAllDrawLevelGroup(DrawLevelGroup drawLevelGroup) {
		List<DrawLevelGroup> drawLevelGroups = drawLevelGroupMapper
				.findAllDrawLevelGroup(drawLevelGroup);
		return drawLevelGroups;
		
	}
	
}